home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / daemons / nfs / nfs-serv.2be / nfs-serv / nfs-server-2.2beta16 / INSTALL < prev    next >
Encoding:
Text File  |  1995-06-25  |  1.6 KB  |  38 lines

  1.  
  2. Installation Instructions for the Universal NFS Server 2.2.
  3. -----------------------------------------------------------
  4.  
  5. To compile nfsd and its fellow programs, do the following:
  6.  
  7. 1.    Configure the package for your system. This is a two-step process.
  8.  
  9.     You first have to run the BUILD script that will ask you some
  10.     questions for your site-specific configuration. It will then create
  11.     the file site.h and site.mk, and invoke the GNU configure script.
  12.  
  13.     The `configure' shell script attempts to guess correct values
  14.     for various system-dependent variables used during compilation,
  15.     and creates the Makefile and the config.h header file.
  16.     It also creates a file `config.status' that you can run in the
  17.     future to recreate the current configuration.
  18.  
  19. 2.    Type `make' to compile the package. By default, the package is
  20.     compiled with optimization (-O).  If you want, you can override
  21.     the `make' variables CFLAGS and LDFLAGS like this:
  22.  
  23.     make CFLAGS=-O6 LDFLAGS=-s
  24.  
  25. 4.    Type `make install' to install the programs and documentation.
  26.     By default, all programs are installed in /usr/sbin.
  27.  
  28. 5.    You can remove the program binaries and object files from the
  29.     source directory by typing `make clean'.  To also remove the
  30.     Makefile, the header file containing system-dependent
  31.     definitions and `config.status' (all the files that `configure'
  32.     created), type `make distclean'.
  33.  
  34. The file `configure.in' is used as a template to create `configure' by
  35. a program called `autoconf'.  You will only need it if you want to
  36. regenerate `configure'. The current configure.in script requires 
  37. GNU autoconf version 2 or above.
  38.